from PIL import Image

def main(): 
	try: 
		#Relative Path 
		img = Image.open("11A693_1.jpg") 
		print(img.mode )
		
		#converting image to bitmap 
		print(img.tobitmap() )
		
		print(type(img.tobitmap()) )
	except IOError: 
		pass

if __name__ == "__main__": 
	main()
